package cn.Mmovie.bean;

import java.util.Date;

public class Movie {
    private int id;
    private String name;
    private Date date;
    private Auditorium auditorium;
    private String director;
    private String picture;
    private String type;
    private String origin;
    private String main_actor;
    private double access;
    private String introduce;

    public Movie() {
    }
    public Movie(int id) {
        this.id = id;
    }

    public Movie(int id, String name, Date date, Auditorium auditorium, String director, String picture, String type, String origin, String main_actor, double access, String introduce) {
        this.id = id;
        this.name = name;
        this.date = date;
        this.auditorium = auditorium;
        this.director = director;
        this.picture = picture;
        this.type = type;
        this.origin = origin;
        this.main_actor = main_actor;
        this.access = access;
        this.introduce = introduce;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getMain_actor() {
        return main_actor;
    }

    public void setMain_actor(String main_actor) {
        this.main_actor = main_actor;
    }

    public double getAccess() {
        return access;
    }

    public void setAccess(double access) {
        this.access = access;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return date
     */
    public Date getDate() {
        return date;
    }

    /**
     * 设置
     * @param date
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * 获取
     * @return auditorium
     */
    public Auditorium getAuditorium() {
        return auditorium;
    }

    /**
     * 设置
     * @param auditorium
     */
    public void setAuditorium(Auditorium auditorium) {
        this.auditorium = auditorium;
    }

    /**
     * 获取
     * @return director
     */
    public String getDirector() {
        return director;
    }

    /**
     * 设置
     * @param director
     */
    public void setDirector(String director) {
        this.director = director;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", date=" + date +
                ", auditorium=" + auditorium +
                ", director='" + director + '\'' +
                ", picture='" + picture + '\'' +
                ", type='" + type + '\'' +
                ", origin='" + origin + '\'' +
                ", main_actor='" + main_actor + '\'' +
                ", access=" + access +
                ", introduce='" + introduce + '\'' +
                '}';
    }
}
